<template>
  <div class="more-experts">
    <table class="width100 font30 text-center" border="1" cellspacing="0">
      <thead class="bg-dark-red">
        <tr>
          <th class="font35">
            <font class="green"> > </font>
            <font class="teal"> > </font>
            <font class="pink"> > </font>
            <font class="teal">澳门『张大仙』更多高手料征集中</font>
            <font class="pink"> < </font>
            <font class="teal"> < </font>
            <font class="green"> < </font>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr
          v-for="item of data.moreExperts"
          :key="item.id"
          class="hover-pointer"
          @click="toPage(item.url)"
        >
          <td class="font26 font-bolder header">
            <font class="blue"
              >{{ item.title }}<span class="red">{{ item.content }}</span
              >{{ item.desc }}</font
            >
          </td>
        </tr>
      </tbody>
    </table>
  </div>
</template>

<script setup>
import RangeTrd from "./components/RangeTrd.vue";
import { onMounted, reactive } from "vue";
import { getApiMoreExpertsData } from "@/api/api";
const data = reactive({
  moreExperts: [],
});
const toPage = (url) => {
  window.open(url);
};
onMounted(() => {
  getMoreExpertsData()
})
const getMoreExpertsData = () => {
  getApiMoreExpertsData({type:5,style:1}).then(res => {
    data.moreExperts = res
  })
}
</script>

<style lang="less" scoped>
.header {
  padding: 5px 0;
}
</style>
